﻿using LPLS.DBEntities.OEEModule.OEEModels.DataStatisticModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPLS.DBInterface.OEEModule.OEEModels.DataStaticsticModels
{
    public  interface ICompentDataStatisticsService:IDBBaseInterface
    {
       

        /// <summary>
        /// 获取炉管数据统计信息
        /// </summary>
        /// <param name="startTime"></param>
        /// <param name="endTime"></param>
        /// <param name="deviceid"></param>
        /// <returns></returns>
        List<CompentDataStatistics> GetData(DateTime startTime, DateTime endTime,Guid  deviceid);

        /// <summary>
        /// 获取炉管数据统计信息
        /// </summary>
        /// <param name="startTime"></param>
        /// <param name="endTime"></param>
        /// <param name="deviceid"></param>
        /// <param name="tubeComponentCode"></param>
        /// <returns></returns>
        List<CompentDataStatistics> GetData(DateTime startTime, DateTime endTime, Guid  deviceid, string tubeComponentCode);





         int   AddData(List<CompentDataStatistics> li);



    }
}
